import request from "@/api/request";
import {type ApiRes, type BannerItem, ClientType} from "@/types";
// <any, ApiRes&&>
export const bannerApi = (type: ClientType) => request<any, ApiRes & { banners: BannerItem[] }>({
    url: `/banner?type=${type}`
})
